page {
    background: url('@/static/pianoBackground.png');
    background-repeat: round;
    background-size: 100% auto;
    background-attachment: fixed;
}


div {
    margin: auto;
    padding: 0;
}


#piano, body {
    width: 100%;
    height: 100%;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*justify-content: space-between;*/
}

.component-random-lyric {
    width: 100%;
    min-height: 10px;
    padding: 15px 0;
    margin: 0 auto;
    text-align: center;
}

.component-random-lyric .lyric {
    display: inline;
    line-height: 30px;
    font-size: 18px;
    font-style: italic;
    color: #1f6fb5;
    cursor: pointer;
    text-shadow: 2px 2px 8px #fff;
}

.component-autopiano {
    width: 100%;
    position: relative;
    color: #000;
    /* border: 5px solid #000; */
    /* overflow: hidden; */
}

.component-autopiano .piano-wrap .piano-band {
    width: 90%;
    height: 40px;
    line-height: 40px;
    background: #000000;
    -webkit-box-shadow: inset 0 -1px 2px hsla(0, 0%, 100%, .4), 0 2px 3px rgba(0, 0, 0, .4);
    box-shadow: inset 0 -1px 2px hsla(0, 0%, 100%, .4), 0 2px 3px rgba(0, 0, 0, .4);
    border-width: 3px 2px 2px;
    border-style: solid;
    border-color: #555 #222 #111 #777;
    position: relative;
}

.component-autopiano .piano-wrap .piano-band .piano-band-img {
    width: 130px;
    height: 100%;
    position: relative;
    top: 0;
    left: 45%;
    /* -webkit-transform: translateX(-50%);
    transform: translateX(10px); */
}

.component-autopiano .piano-wrap .piano-key-wrap {
    width: 90%;
    background: #fffefe;
    overflow: hidden;
    position: relative;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-wkey {
    width: 100%;
    height: 100%;
}

/*.piano-key-wkey :hover {*/
/*    background: #000;*/
/*}*/

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-wkey .wkey {
    display: inline-block;
    width: 4.3%;
    height: 100%;
    margin: 0 auto;
    /*background: linear-gradient(-30deg, #f5f5f5, #fff);*/
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #fff, inset 1px 0 0 #fff, inset -1px 0 0 #fff, 0 4px 3px rgba(0, 0, 0, .7);
    border-radius: 0 0 10px 10px;
    position: relative;
}

/*按下*/
.press {

    background: linear-gradient(-30deg, blanchedalmond, #fff) !important;

}

/*未按下*/
.unpress {

    background: linear-gradient(-30deg, #f5f5f5, #fff) !important;

}


.component-autopiano .piano-wrap .piano-key-wrap .piano-key-wkey .wkey .singname {
    /* display: inline-block; */
    width: 25%;
    position: absolute;
    bottom: 10px;
    right: 40%;
    /* margin-bottom: 5%; */
    /* height: 20px; */
    line-height: 28px;
    text-align: center;
    font-weight: 700;
    font-size: large;
    /* background: #ccccd6; */
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-wkey .wkey .singname .low-num {
    width: 10px;
    height: 5px;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-wkey .wkey .singname .low-dian {
    width: 10px;
    height: 23px;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-wkey .wkey .singname .high-dian {
    width: 10px;
    height: 19px;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-wkey .wkey .singname .high-num {
    width: 10px;
    height: 27px;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey {
    display: inline-block;
    width: 3%;
    height: 70%;
    background: linear-gradient(-20deg, #333, #000, #333);
    border-width: 1px 2px 7px;
    border-style: solid;
    border-color: #666 #222 #111 #555;
    border-radius: 0 0 2px 2px;
    -webkit-box-shadow: inset 0 -1px 2px hsla(0, 0%, 100%, .4), 0 2px 3px rgba(0, 0, 0, .4);
    box-shadow: inset 0 -1px 2px hsla(0, 0%, 100%, .4), 0 2px 3px rgba(0, 0, 0, .4);
    position: absolute;
    top: 0;
    overflow: hidden;
}


.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:first-child {
    left: 3%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(2) {
    left: 8%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(3) {
    left: 17.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(4) {
    left: 22.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(5) {
    left: 27.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:NTH-child(6) {
    left: 36.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(7) {
    left: 41.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(8) {
    left: 50.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(9) {
    left: 55.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(10) {
    left: 60.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:NTH-child(11) {
    left: 69.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(12) {
    left: 74.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(13) {
    left: 83.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(14) {
    left: 88.5%;
}

.component-autopiano .piano-wrap .piano-key-wrap .piano-key-bkey .bkey:nth-child(15) {
    left: 93.5%;
}

#piano .socre-section-container {

    padding: 13px 0;
    color: #fff;
    width: 100%;
    margin: 0 auto;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.socre-section-container .Music-score {
    width: 40%;
    min-width: 500px;
    padding-bottom: 20%;
    font-size: 14px;
    overflow: hidden;
    background: hsla(0, 0%, 100%, .6);
    border-radius: 5px;
    border: 1px solid #ddd;
    position: relative;
}

.socre-section-container .Music-score .view {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 15px 10px 15px;
    overflow-y: scroll;
}

.socre-section-container .Music-score .view .component-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    position: relative;
}

.socre-section-container .Music-score .view .component-title .title {
    text-align: center;
}

.socre-section-container .Music-score .view .section-title {
    margin: 20px 0 15px;
}

.socre-section-container .Music-score .view .section-content {
    font-family: Verdana, Tahoma, Microsoft Yahei, Hiragino Sans GB, Heiti SC, WenQuanYi Micro Hei, sans-serif;
    font-size: 17px;
    letter-spacing: 2px;
    line-height: 1.6;
    padding-bottom: 10px;
}

.socre-section-container .data-display {
    width: 40%;
    min-width: 500px;
    padding-bottom: 20%;
    font-size: 14px;
    overflow: hidden;
    background: hsla(0, 0%, 100%, .6);
    border-radius: 5px;
    border: 1px solid #ddd;
    position: relative;
}

.socre-section-container .data-display .view {
    width: 100%;
    height: 80%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 15px;
}

.socre-section-container .data-display .view .data {
    width: 100%;
    height: 80%;
    overflow-y: scroll;
    padding: 0 15px 20px 15px;
    margin-bottom: 20px;;
}

.socre-section-container .data-display .view .component-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    position: relative;
}

.socre-section-container .data-display .view .component-title .title {
    text-align: center;
}

.fal {
    align-items: center;
    display: inline-flex;
    font-feature-settings: "liga";
    font-size: 24px;
    justify-content: center;
    letter-spacing: normal;
    line-height: 1;
    position: relative;
    text-indent: 0;
    transition: .3s cubic-bezier(.25, .8, .5, 1), visibility 0s;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

.song-item :hover {
    background: darksalmon;
}